 /*
 * EncoladorDelegate.java
 *
 * Created on November 7, 2007, 4:34 PM
 *
 * To change this template, choose Tools | Options and locate the template under
 * the Source Creation and Management node. Right-click the template and choose
 * Open. You can then make changes to the template in the Source Editor.
 */

package com.computec.encolador.delegate;


import com.computec.encolador.exception.EncoladorException;
import com.computec.encolador.helper.EncoladorHelper;
import com.src.computec.radar.base.delegate.BaseDelegate;
import java.util.ArrayList;

/**
 *
 * @author fsanchez
 */
public class EncoladorDelegate extends BaseDelegate{
    private EncoladorHelper helper;
    
    /**
     * Creates a new instance of EncoladorDelegate 
     */
    public EncoladorDelegate() {
	helper=new EncoladorHelper();
    }
    
    public ArrayList getCategorias() throws EncoladorException{
	return helper.getCategorias();
    }
    
    public ArrayList getImpresoras() throws EncoladorException{
	return helper.getImpresoras();	
    }
    
    public ArrayList getJobs() throws EncoladorException{
	return helper.getJobs();
    }
    
    public boolean[][] getMatrizJobXImpresora(int pCodigoJob,int pCodigoImpresora) throws EncoladorException{
	return helper.getMatrizJobXImpresora(pCodigoJob, pCodigoImpresora);
    }
    
    public boolean procesar() throws EncoladorException {
        return helper.procesar();
    }
}
